/**
 * 
 */
package net.toocruel.iqismart.dao.condition;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author toocruel
 *
 */
public class RoleCondition {

	private String id;
	private String name;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date createdAtStart;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date createdAtEnd;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreatedAtStart() {
		return createdAtStart;
	}

	public void setCreatedAtStart(Date createdAtStart) {
		this.createdAtStart = createdAtStart;
	}

	public Date getCreatedAtEnd() {
		return createdAtEnd;
	}

	public void setCreatedAtEnd(Date createdAtEnd) {
		this.createdAtEnd = createdAtEnd;
	}
}
